diff -Nur cd-discid-1.3.1.orig/Makefile cd-discid-1.3.1/Makefile
--- cd-discid-1.3.1.orig/Makefile	2012-10-06 18:35:51.242035234 -0400
+++ cd-discid-1.3.1/Makefile	2012-10-07 13:03:31.838165407 -0400
@@ -9,9 +9,9 @@
 SRCS = cd-discid.c
 OBJS = $(SRCS:.c=.o)
 
-PREFIX ?= /usr/local
+PREFIX ?= ${DESTDIR}/usr
 BINDIR = ${PREFIX}/bin
-MANDIR = ${PREFIX}/share/man/man1
+MANDIR = ${PREFIX}/man/man1
 
 .SUFFIXES: .c .o
 
